package com.cainaer.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 商品会员价表
 * </p>
 *
 * @author Tina
 * @since 2020-09-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class MemberPrice implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 会员价自增ID
     */
    @TableId(value = "member_price_id", type = IdType.AUTO)
    private Long memberPriceId;

    /**
     * 商品id
     */
    private Long productId;

    /**
     * 会员等级id
     */
    private Long memberLevelId;

    /**
     * 会员价格
     */
    private BigDecimal memberPrice;

    /**
     * 会员等级名称
     */
    private String memberLevelName;


}
